package com.shycloud.mido.member.api.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 周报表
 * </p>
 *
 * @author baiqiang
 * @since 2021-06-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "WeekMain对象", description = "周报表")
public class WeekMainInMemberFeignVO implements Serializable {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "主键 : 主键")
	@TableId(value = "id", type = IdType.UUID)
	private String id;

	@ApiModelProperty(value = "年份 : 年份")
	private Integer year;

	@ApiModelProperty(value = "一年内第几周 : 一年内第几周")
	private Integer week;

	@ApiModelProperty(value = "开始周日期 : 开始周日期")
	private LocalDate startWeekDate;

	@ApiModelProperty(value = "结束周日期 : 结束周日期")
	private LocalDate endWeekDate;

	@ApiModelProperty(value = "每月第几周")
	private Integer weekdays;

	@ApiModelProperty(value = "上周ID : 上周ID")
	private String preWeekId;

	@ApiModelProperty(value = "状态 : 状态0未计算1计算中2完成3失败")
	private String status;

	@ApiModelProperty(value = "阶段：1周报2解析3人员4预处理完成5发送6发送完成9处理失败")
	private Integer step;

	@ApiModelProperty(value = "生成开始时间 : 生成开始时间")
	private LocalDateTime genStarttime;

	@ApiModelProperty(value = "生成结束时间 : 生成结束时间")
	private LocalDateTime genEndtime;

	@ApiModelProperty(value = "订阅人数 : 订阅人数")
	private Integer subscribeCount;

	@ApiModelProperty(value = "总人数 : 总人数")
	private Integer memberCount;

	@ApiModelProperty(value = "删除标记 : 0-正常，1-删除")
	private String delFlag;

	@ApiModelProperty(value = "创建人 : 创建人")
	private String createUser;

	@ApiModelProperty(value = "创建时间 : 创建时间")
	private LocalDateTime createTime;

	@ApiModelProperty(value = "更新人 : 更新人")
	private String updateUser;

	@ApiModelProperty(value = "更新时间 : 更新时间")
	private LocalDateTime updateTime;
}
